#ifndef __TUYA_MD_DEMO_H_
#define __TUYA_MD_DEMO_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/shm.h>
#include <string.h>
#include <pthread.h>
#include "tuya_ipc_cloud_storage.h"
#include "tuya_ipc_stream_storage.h"
#include "tuya_ipc_api.h"
#include "tuya_ipc_dp_handler.h"
#include "SdkMotionDetect.h"
#include "InCommon.h"
#include "SdkVideo.h"
#include "SdkMotionDetectArea.h"
#include "SdkMediaCommon.h"

void Ext_TuyaMD_SetFlag(Com_u8 flag);
Com_u8 Ext_TuyaMD_GetFlag(void);
Com_void Ext_TuyaMD_Reset(Com_void);
void Ext_TuyaMD_SetSensitivity(Com_s32 mode);
void Ext_TuyaMD_SetInterval(INT_T val);
VOID *thread_md_proc(VOID *arg);

#ifdef __cplusplus
}
#endif

#endif
